GtkWindow: change muxer setup with application
authorRyan Lortie <desrt@desrt.ca>
Wed, 10 Jul 2013 02:33:22 +0000 (22:33 -0400)
committerRyan Lortie <desrt@desrt.ca>
Tue, 15 Oct 2013 13:24:11 +0000 (09:24 -0400)
commitabcddd3ae08a6bfefec0d4298288adc8f672c924
tree5ded9dacef52d3f55cb595adb529894ee0607490
parent3f0b9a7574a48fcbdd57e13ccf4a298dc7fc007b
GtkWindow: change muxer setup with application

Previously, GtkWindow would add the "app" action group to its own
toplevel muxer.

Change the setup so that GtkApplication creates the toplevel muxer and
adds itself to it as "app".  Use this muxer as the parent muxer of any
GtkWindow associated with the application.

This saves a small amount of memory and will allow for accels to be
propagated from the application through to all of the windows.
gtk/gtkapplication.c
gtk/gtkapplicationprivate.h
gtk/gtkwidget.c
gtk/gtkwindow.c